package com.ethink.warehouse.api.info;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.Date;

/**
 * 仓库分仓 INFO实体
 *
 * @author default
 * @date 2022-11-01
 */
@Data
public class SubWarehouseInfo {

    @Schema(description ="主键")
    private Long id;

    @Schema(description ="分仓编号")
    private String subWarehouseCode;

    @Schema(description ="分仓名称")
    private String subWarehouseName;

    @Schema(description ="主仓ID")
    private Long warehouseId;

    @Schema(description ="主仓账册ID")
    private Long warehouseBookId;

    @Schema(description ="枚举 仓库性质:1-境外中转仓(t1)|2-国内保税仓(t2)|3-平台寄售仓(t3)|4-境外虚拟仓(t4)|5-平台保税仓(t5)|6-跨境办公室仓(t6)")
    private Integer subWarehouseType;

    @Schema(description ="枚举 状态:1-启用(open)|2-关闭(close)")
    private Integer subWarehouseStatus;

    @Schema(description ="所属货主编码")
    private String owner;

    @Schema(description ="所属货主名称")
    private String ownerName;

    @Schema(description ="'吉客云仓库编号'")
    private String jkyWarehouseCode;

    @Schema(description ="数据删除标志(0-正常,1-删除)")
    private Integer isDeleted;

    @Schema(description ="数据创建时间戳")
    private Date createTime;

    @Schema(description ="数据更新时间戳")
    private Date updateTime;

    @Schema(description ="创建人")
    private String createUser;

    @Schema(description ="修改人")
    private String updateUser;

    @Schema(description ="备注信息")
    private String remark;

    @Schema(description ="主仓编码")
    private String warehouseCode;
    @Schema(description ="主仓名称")
    private String warehouseName;
    @Schema(description ="仓库地址")
    private String address;
    @Schema(description ="负责人")
    private String contactsName;
    @Schema(description ="负责人电话")
    private String contactsPhone;
    @Schema(description ="账册编码")
    private String bookCode;
    @Schema(description ="账册名称")
    private String bookName;

}
